export const getAccessToken = () =>{
	return new Promise((res, rej) => {
		uni.request({
			url: 'https://open.ys7.com/api/lapp/token/get',
			method: 'POST',
			data: {
				appKey: '6a24de0cb4f74eafa2da6d4742131e94',
				appSecret: '92330fbf538192685d1344c46f31b4da'
			},
			header:{
				'Content-type': 'application/x-www-form-urlencoded'
			},
			success(responese) {
				res(responese)
			},
			fail() {
				uni.showToast({
					title: '数据获取失败',
					icon: 'err'
				})
			}
		})
	})
}